<?php

namespace flat\dataType;

class Float extends \flat\DataType{
    
    public function toDb($value, $decimals = null) {
        return \flat\Number::toDb($value, $decimals);
    }

    public function toPhp($value, $decimals = null) {
        return \flat\Number::toPhp($value, $decimals);
    }
    
    public function toView($value, $decimals = null) {
        return \flat\Number::toView($number, $decimals);
    }

}
